package com.xiaozhengkeji.springcloud.ezcloud;

import com.xiaozhengkeji.springcloud.ezcloud.common.core.utils.UserUtils;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

/**
 * 用户服务模块api
 */
@SpringBootApplication
//开启服务发现
@EnableDiscoveryClient
@EnableWebMvc
@MapperScan({"com.xiaozhengkeji.springcloud.ezcloud.common.core.base.mapper"})
public class EZCloudUserServiceApp {
    public static void main(String[] args) {
        System.out.println("EZCloud User Service 启动中!");
        SpringApplication.run(EZCloudUserServiceApp.class, args);
    }
}
